package com.bootdo.system.domain;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;



/**
 * 
 * 
 * @author lzy
 * @email 1992lcg@163.com
 * @date 2018-09-18 09:31:45
 */
public class PayDeatailsDO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//
	private Integer id;
	//用户id
	private Long userId;
	//支付类型
	private String deatailsType;
	//支出
	private Long  deatailsExpend;
	//支入
	private Long deatailsSupport;
	//余额
	private Long sum;
	//创建时间
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date deatailsTime;
	//开始时间
	private Date beginDate;
	
	//结束时间
	private Date endDate;
	
	

	/**
	 * 设置：
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Integer getId() {
		return id;
	}
   
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	/**
	 * 设置：支付类型
	 */
	public void setDeatailsType(String deatailsType) {
		this.deatailsType = deatailsType;
	}
	/**
	 * 获取：支付类型
	 */
	public String getDeatailsType() {
		return deatailsType;
	}
	/**
	 * 设置：支出
	 */
	public void setDeatailsExpend(Long deatailsExpend) {
		this.deatailsExpend = deatailsExpend;
	}
	/**
	 * 获取：支出
	 */
	public Long  getDeatailsExpend() {
		return deatailsExpend;
	}
	/**
	 * 设置：支入
	 */
	public void setDeatailsSupport(Long deatailsSupport) {
		this.deatailsSupport = deatailsSupport;
	}
	/**
	 * 获取：支入
	 */
	public Long getDeatailsSupport() {
		return deatailsSupport;
	}
	/**
	 * 设置：创建时间
	 */
	public void setDeatailsTime(Date deatailsTime) {
		this.deatailsTime = deatailsTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getDeatailsTime() {
		return deatailsTime;
	}
	/**
	 * 设置：余额
	 */
	public Long getSum() {
		return sum;
	}
	/**
	 * 设置：余额
	 */
	public void setSum(Long sum) {
		this.sum = sum;
	}
	public Date getBeginDate() {
		return beginDate;
	}
	public void setBeginDate(Date beginDate) {
		this.beginDate = beginDate;
	}
	public Date getEndDate() {
		return endDate;
	}
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	
	
	
}
